home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-1297 / AMOSLIST / text0010.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.4 KB  |  40 lines

  1. On 01-Dec-97, Marco Alanen smashed the keyboard with:
  2. >Hello guys
  3.  
  4. >I have a small problem that I would like some help to. I am creating
  5. >a game and on the intro-screen I would like a picture to show up.
  6. >First the palette would be $FFF on all 16 colours, but they would
  7. >slowly fade down to their origin colours. Please... I really need
  8. >a routine like that.
  9. >If you guys even get this mail then please reply on it. I'm not sure
  10. >if my mails gets to the list... =/
  11.  
  12. I read you clearly :)
  13.  
  14. It can be done with something like this:
  15.  
  16. 'if your screen is nr. 0
  17. 'open a small screen, use same screen mode and nr. of colours..
  18. screen open 1,32,2,c,res
  19. screen 1 : get screen palette 0
  20. screen 0 
  21. ' now set your colours to $fff
  22. palette $fff,$fff,$fff....
  23. screen 0
  24. fade speed to 1
  25. screen close 1
  26.  
  27. -- 
  28. Happy greetings, Yours..
  29. __________________________________________________________________________
  30.  /_  __/ __  / __  /\  ___\  __ \__  _\           aka. JENS VANG PETERSEN
  31.   / / / /_/ / ____/  \ \___\  __ \ \ \  Nyvej 8, DK-4450 Jyderup, Denmark
  32.  /_/ /_____/_/        \_____\_\ \_\ \_\             top_cat@post8.tele.dk
  33.                      http://home8.inet.tele.dk/top_cat/
  34.         Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO
  35. --------------------------------------------------------------------------
  36.  /Earth is 98% full...  please delete anyone you can.
  37. --------------------------------------------------------------------------
  38.  
  39.  
  40.